//: Playground - noun: a place where people can play

import UIKit

// MARK: - selector
class Responder: NSObject {
    
    func btnClicked(sender: UIButton) {
        print("click~~~")
    }
}

let responder = Responder()
let btn = UIButton()
btn.addTarget(responder, action: #selector(responder.btnClicked), for: .touchUpInside)

